import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';


const LIST: AppRouteRecordRaw[] = [
    {
        path:'/menu',
        name: 'menu',
        component: DEFAULT_LAYOUT  ,
        children:[
            {
                path:'/home',
                name: 'menuHome',
                component: () => import('@/views/menu/index.vue')  ,
            }
        ]
    }
    ,
    {
        path:'/onlinecode',
        name: 'onlinecode',
        component: DEFAULT_LAYOUT  ,
        children:[
            {
                path:'gen',
                name: 'gen',
                component: () => import('@/views/dev/home.vue')  ,
            }
            ,
            {
                path:'onlineHome',
                name: 'onlineHome',
                component: () => import('@/views/dev/index.vue')  ,
            }
        ]
    }
    ,
    {
        path:'/role',
        name: 'role',
        component: DEFAULT_LAYOUT  ,
        children:[
            {
                path:'roleHome',
                name: 'roleHome',
                component: () => import('@/views/role/index.vue')  ,
            }
        ]
    }
    ,
    {
        path:'/db',
        name: 'db',
        component: DEFAULT_LAYOUT  ,
        children:[
            {
                path:'dbHome',
                name: 'dbHome',
                component: () => import('@/views/db/index.vue')  ,
            }
            ,
            {
                path:'dbCenter',
                name: 'dbCenter',
                component: () => import('@/views/db/home.vue')  ,
            }
        ]
    }
    ,
    {
        path:'/user',
        name: 'user',
        component: DEFAULT_LAYOUT  ,
        children:[
            {
                path:'userHome',
                name: 'userHome',
                component: () => import('@/views/user/index.vue')  ,
            }
        ]
    }
    ,
    {
        path:'/dashboard',
        name: 'dashboard',
        component: DEFAULT_LAYOUT  ,
        children:[
            {
                path:'workplace',
                name: 'Workplace',
                component: () => import('@/views/dashboard/workplace/index.vue')  ,
            }
            ,
            {
                path:'monitor',
                name: 'Monitor',
                component: () => import('@/views/dashboard/monitor/index.vue')  ,
            }
        ]
    }
]
export default LIST;
